Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 18 - QuickDraw 3D Pointing Device Manager / QuickDraw 3D Pointing Device Manager Reference
QuickDraw 3D Pointing Device Manager Routines / Creating and Managing Controllers


Q3Controller_SetButtons

You can use the Q3Controller_SetButtons function to set the button state of a controller.

TQ3Status Q3Controller_SetButtons (
TQ3ControllerRef controllerRef, 
unsigned long buttons);
controllerRef
A reference to a controller.
buttons
A button state value.
DESCRIPTION
The Q3Controller_SetButtons function sets the button state of the controller specified by the controllerRef parameter to the button state value passed in the buttons parameter. If the specified controller is inactive, Q3Controller_SetButtons has no effect. Changing a controller's button state might cause the notify function of the tracker currently associated with that controller to be called.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996